Technical Q&A
QD59 - grayishTextOr and Mac OS 8.5 (7-December-98)
Q: Under Mac OS 8.5, text that is drawn using TextMode(grayishTextOr) is never actually
drawn. What's wrong and what can I do to fix it?
A: Mac OS 8.5 doesn't properly check to see if the current port is a GrafPort or a
CGrafPort . Gray text will draw correctly to a CGrafPort , but does not appear
when drawn to an old GrafPort .
The best solution to this problem is to migrate your code to always use color
windows and CGrafPorts .
However, you can simulate the gray text by painting over the text's area with
a gray pattern in patBic mode.
-- Timothy Carroll
Worldwide Developer Technical Support
Technical Q&As | Contents
Previous Question | Next Question
To contact us, please use the Contact Us page.
|